package com.sw.c.pojo.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * aop日志对象
 */
@Data
@ApiModel(value="SysLog", description="日志对象")
public class SysLog implements Serializable {
    @ApiModelProperty(value = "主键")
    private String id;
    @ApiModelProperty(value = "操作开始时间")
    private String startTime;
    @ApiModelProperty(value = "操作结束时间")
    private String endTime;
    @ApiModelProperty(value = "执行耗时")
    private long excuteTime;
    @ApiModelProperty(value = "请求地址")
    private String url;
    @ApiModelProperty(value = "请求参数")
    private String params;
    @ApiModelProperty(value = "接口名")
    private String targetName;
    @ApiModelProperty(value = "接口方法")
    private String methodName;
    @ApiModelProperty(value = "操作名称")
    private String operationName;
    @ApiModelProperty(value = "请求ip")
    private String ip;
    @ApiModelProperty(value = "所属部门")
    private String dept;
    @ApiModelProperty(value = "操作人")
    private String userId;
    @ApiModelProperty(value = "接口返回数据")
    private String returnData;
    @ApiModelProperty(value = "业务类型")
    private String businessType;

}
